package cn.rcth.base.serivce.impl;

import cn.rcth.base.VO.OrderVO;
import cn.rcth.base.domain.*;
import cn.rcth.base.mapper.*;
import cn.rcth.base.msg.ResultMsg;
import cn.rcth.base.serivce.IOrderProductSerivce;
import cn.rcth.base.serivce.IOrderSerivce;
import cn.rcth.base.util.IdGenerateUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
@Transactional
public class OrderProductSerivceImpl implements IOrderProductSerivce {

    @Autowired
    private OrderProductMapper orderProductMapper;

    @Override
    public List<OrderProduct> selestOrderProductByOrderId(Long orderId) {

        List<OrderProduct> orderProductLists = orderProductMapper.selestOrderProductByOrderId(orderId);
        return orderProductLists;
    }
}
